//
//  HNHappyFamilyTVCell.m
//  XDEducation
//
//  Created by 星道 on 17/6/6.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "HNHappyFamilyTVCell.h"

@implementation HNHappyFamilyTVCell
{
    IBOutlet UIImageView *_Img;
    IBOutlet UILabel *_Title;
    IBOutlet UILabel *_Mark;
    IBOutlet UILabel *_Flower;
    IBOutlet UIButton *_DownLoad;
}


- (void)setModel:(HNHappyFamilyTVModel *)Model
{
    _Model = Model;
    
    _Title.text = Model.title;
    _Mark.text  = Model.videoDesc;
    _Flower.text = [NSString stringWithFormat:@"红花:%@",[Model.flowers stringValue]];
    [_Img sd_setImageWithURL:[NSURL URLWithString:Model.absoluteImg] placeholderImage:[UIImage imageNamed:@""]];
}


- (IBAction)ClickDown:(UIButton *)sender
{
    [MBProgressHUD showSuccess:@"敬请期待"];
}
@end
